[GI] Add missing (scope) annotations
authorPavel Holejsovsky <pholejs@src.gnome.org>
Tue, 18 Jan 2011 09:14:56 +0000 (10:14 +0100)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Thu, 20 Jan 2011 12:57:15 +0000 (13:57 +0100)
gdk/gdkwindow.c
gtk/Makefile.am
gtk/gtkaccelgroup.c
gtk/gtkaccelmap.c
gtk/gtkcellarea.c
gtk/gtkcontainer.c
gtk/gtkprintoperation-unix.c

index 30d5c8d52c25703765cfd9fb5651944aa5487777..aa9fb3c3d41eda3b5507086b323e7918926ee7dd 100644 (file)
@@ -4431,8 +4431,8 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow            *window,
  * gdk_window_invalidate_maybe_recurse:
  * @window: a #GdkWindow
  * @region: a #cairo_region_t
- * @child_func: function to use to decide if to recurse to a child,
- *              %NULL means never recurse.
+ * @child_func: (scope call): function to use to decide if to recurse
+ *     to a child, %NULL means never recurse.
  * @user_data: data passed to @child_func
  *
  * Adds @region to the update area for @window. The update area is the
index 04bbadd51e3229d21012d0f2b0ecb888f5a701dc..225341f6f8a6127a4d8c0307d6831f1e5eec2489 100644 (file)
@@ -965,6 +965,7 @@ if HAVE_INTROSPECTION
 introspection_files = \
     $(filter-out %private.h gtktextlayout.h, $(gtkinclude_HEADERS)) \
     $(gtk_base_c_sources) \
+    gtkprintoperation-unix.c \
     gtktypebuiltins.h \
     gtktypebuiltins.c
 
index 560386dd31b8f89ea80cbe167eb699be387e6239..f575c54a305f85048434adb2cf77de3a22b2d783 100644 (file)
@@ -375,7 +375,8 @@ gtk_accel_groups_from_object (GObject *object)
 /**
  * gtk_accel_group_find:
  * @accel_group: a #GtkAccelGroup
- * @find_func: a function to filter the entries of @accel_group with
+ * @find_func: (scope call): a function to filter the entries
+ *    of @accel_group with
  * @data: data to pass to @find_func
  * @returns: the key of the first entry passing @find_func. The key is 
  * owned by GTK+ and must not be freed.
index 26577738f66f2c1baac4cfe039eaad016dc9ab1f..32d8c796a22ff523da1fc8eed26cde4ca74ea8c1 100644 (file)
@@ -807,8 +807,8 @@ gtk_accel_map_save (const gchar *file_name)
 /**
  * gtk_accel_map_foreach:
  * @data:         data to be passed into @foreach_func
- * @foreach_func: function to be executed for each accel map entry which
- *                is not filtered out
+ * @foreach_func: (scope call): function to be executed for each accel
+ *                map entry which is not filtered out
  *
  * Loops over the entries in the accelerator map whose accel path 
  * doesn't match any of the filters added with gtk_accel_map_add_filter(), 
@@ -844,7 +844,8 @@ gtk_accel_map_foreach (gpointer           data,
 /**
  * gtk_accel_map_foreach_unfiltered:
  * @data:         data to be passed into @foreach_func
- * @foreach_func: function to be executed for each accel map entry
+ * @foreach_func: (scope call): function to be executed for each accel
+ *                map entry
  *
  * Loops over all entries in the accelerator map, and execute
  * @foreach_func on each. The signature of @foreach_func is that of
index 2175f5078ee221e8719037a382f6f9fbe939d10c..8976c2225d2649447e98ed6dbb6c3b1ff502ec31 100644 (file)
@@ -1624,7 +1624,7 @@ gtk_cell_area_has_renderer (GtkCellArea     *area,
 /**
  * gtk_cell_area_foreach:
  * @area: a #GtkCellArea
- * @callback: the #GtkCellCallback to call
+ * @callback: (scope call): the #GtkCellCallback to call
  * @callback_data: user provided data pointer
  *
  * Calls @callback for every #GtkCellRenderer in @area.
@@ -1657,7 +1657,7 @@ gtk_cell_area_foreach (GtkCellArea        *area,
  * @widget: the #GtkWidget that @area is rendering to
  * @cell_area: the @widget relative coordinates and size for @area
  * @background_area: the @widget relative coordinates of the background area
- * @callback: the #GtkCellAllocCallback to call
+ * @callback: (scope call): the #GtkCellAllocCallback to call
  * @callback_data: user provided data pointer
  *
  * Calls @callback for every #GtkCellRenderer in @area with the
index cd400b3e0267ccc696a0503514f012bfef0f3215..d531bbae10e6c5aeb9ecf0357635cc76c748d2a2 100644 (file)
@@ -1865,7 +1865,7 @@ gtk_container_class_handle_border_width (GtkContainerClass *klass)
 /**
  * gtk_container_forall:
  * @container: a #GtkContainer
- * @callback: a callback
+ * @callback: (scope call): a callback
  * @callback_data: callback user data
  *
  * Invokes @callback on each child of @container, including children
index 2431371f0c94be9e0e869d1f86568e438ba143b3..d3a8a37513d729202a9f0f6056bdb70d05221854 100644 (file)
@@ -999,7 +999,8 @@ gtk_print_run_page_setup_dialog (GtkWindow        *parent,
  * @parent: (allow-none): transient parent, or %NULL
  * @page_setup: (allow-none): an existing #GtkPageSetup, or %NULL
  * @settings: a #GtkPrintSettings
- * @done_cb: a function to call when the user saves the modified page setup
+ * @done_cb: (scope async): a function to call when the user saves
+ *           the modified page setup
  * @data: user data to pass to @done_cb
  * 
  * Runs a page setup dialog, letting the user modify the values from @page_setup.